#ifndef __KWFWLIB_H__
#define __KWFWLIB_H__
// KW-Software eCLR Native Library Builder version 2.1.2.0
// KWFWLib.h native assembly header template.
// use this file to implement and/or extend your native c++ classes.
// insert additional private methods and member only outside of the @Begin/@End comment pair

#include "mscorlib.h"
#include "pcoslib.h"

// public scope class for library implementation
// use KWFWLib::init() and KWFWLib::loadLibrary() during startup 
// to make the library accessible by the managed application.
class KWFWLib
{
// @Begin automatically generated code, do not modify !
public:
enum LibVersion { Major=1, Minor=0, Build=0, Revision=0 };
static bool init();
static bool loadLibrary();
static bool isCompatible(const EclrVersion& requestedVersion);
static bool load(ClrAppDomain* pAppDomain);
static bool unload(ClrAppDomain* pAppDomain);
static unsigned s_modulHndl;
// @End automatically generated code

class ReadBit : public Object
{
    // @Begin automatically generated code, do not modify inside @Begin/@End comment pair !
    public:
    static Int32 __Process(Int32 p0);
    ReadBit();
    void ctor();
    // @End automatically generated code
    // insert additional private methods and member here ! 
};

class WriteBit : public Object
{
    // @Begin automatically generated code, do not modify inside @Begin/@End comment pair !
    public:
    static Int32 __Process(Int32 p0, Int32 p1);
    WriteBit();
    void ctor();
    // @End automatically generated code
    // insert additional private methods and member here ! 
};

class Print : public Object
{
    // @Begin automatically generated code, do not modify inside @Begin/@End comment pair !
    public:
    Print();
    void ctor();
    void __Init();
    void __Process();
    Boolean Triger;
    pcoslib::IecString80 String;
    UInt16 ErrorID;
    // @End automatically generated code
    // insert additional private methods and member here ! 
    Boolean m_temp;
};

class Button : public Object
{
    // @Begin automatically generated code, do not modify inside @Begin/@End comment pair !
    public:
    Button();
    void ctor();
    void __Init();
    void __Process();
    Boolean Btn_EN;
    UInt16 Index;
    Boolean Value;
    UInt16 ErrorID;
    // @End automatically generated code
    // insert additional private methods and member here ! 
};

class LED : public Object
{
    // @Begin automatically generated code, do not modify inside @Begin/@End comment pair !
    public:
    LED();
    void ctor();
    void __Init();
    void __Process();
    Boolean LED_EN;
    UInt16 Index;
    Boolean Value;
    UInt16 ErrorID;
    // @End automatically generated code
    // insert additional private methods and member here ! 
};

class ADC : public Object
{
    // @Begin automatically generated code, do not modify inside @Begin/@End comment pair !
    public:
    ADC();
    void ctor();
    void __Init();
    void __Process();
    Boolean ADC_EN;
    UInt16 Index;
    UInt16 Value;
    UInt16 ErrorID;
    // @End automatically generated code
    // insert additional private methods and member here ! 
};


}; // class KWFWLib

#endif //#ifndef __KWFWLIB_H__
